/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package csse3004.GD.PM;

import java.util.ArrayList;

/**
 *
 * @author Mamdouh 41942989
 */
public class EntityHierarchy {
    
    private int pollID;
    private String pollName;
    
    public int getPollID(){
        return pollID;
    }
    
    public void setPollID(int pollID){
        this.pollID = pollID;
    }
    
    public String getPollName(){
        return pollName;
    }
    
    public void setPollName(String pollName){
        this.pollName = pollName;
    }
    
     public static ArrayList<EntityHierarchy> genTempEntityHierarchy(){
        ArrayList<EntityHierarchy> array = new ArrayList();    
        EntityHierarchy data = new EntityHierarchy();
        EntityHierarchy data1 = new EntityHierarchy();
    
        data.setPollID(1);
        data.setPollName("Poll number 1");
        
        data1.setPollID(2);
        data1.setPollName("poll number2");
        
        array.add(data);
        array.add(data1);
        
        return array;
    }
}
